#!/bin/bash

# Build Staging Flavor
echo "Building Staging Flavor..."

# Android
echo "Building Android Staging APK..."
flutter build apk --flavor staging -t lib/main_staging.dart

# iOS (if on macOS)
if [[ "$OSTYPE" == "darwin"* ]]; then
    echo "Building iOS Staging..."
    flutter build ios --flavor staging -t lib/main_staging.dart
fi

echo "Staging build completed!"
